package com.quanyan.user.mapper;

import com.quanyan.user.model.db.TbUserTreasureBox;
import com.quanyan.user.model.vo.response.RespUserTreasureBox;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by jian.zhou on 2016/7/2.
 */
public interface UserTreasureBoxMapper {

    void batchInsert(@Param("list") List<TbUserTreasureBox> tbUserTreasureBox);

    void batchUpdate(@Param("list") List<TbUserTreasureBox> tbUserTreasureBox);

    /**
     * 查询用户箱子
     * @param uid
     * @return
     */
    List<RespUserTreasureBox> queryUserBox(@Param("uid") Integer uid);
}
